package edu.sctu.practice.class02.lvchang.test20;

/**
 * Created by Administrator on 2015/11/1.
 */
public class Client {

    public static void main(String[] args) {

        Vehicle vehicle;
        vehicle = new Car();
        System.out.println("Car: " + vehicle.noOfWheels("四轮车"));

        vehicle = new Motorbike();
        System.out.println("Motorbike: " + vehicle.noOfWheels("双轮车"));
    }
}
